/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package facade;

import org.springframework.context.ApplicationContext;

import conf.GetContext;
import service.model.LocationService;

/**
 *
 * @author Serge
 */
public class Facade {

    private LocationService locationService;
    private ApplicationContext ctx;

    public LocationService getVehicleMetaDataService() {
        ctx = (ApplicationContext) GetContext.getApplicationContext();
        locationService = (LocationService) ctx.getBean("vehicleMetaDataService");
        return locationService;


    }
}